using System;
using System.IO;

namespace Business
{
	public static class Storage
	{
		private const string StorageDir = Settings.DocumentsDir;
		static Storage ()
		{
		}
		
		public static void SaveFile(string fileName, string content)
		{
			File.WriteAllText(StorageDir+fileName, content);
		}
		
		public static string ReadFile(string fileName)
		{
			return File.ReadAllText(StorageDir+fileName);
		}

		public static bool Exist (string path)
		{
			return File.Exists(StorageDir+path);
		}
	}
}

